Skip to content

Fixed CorsMiddleware::beforeHandleRoute#2

Open
sergeyklay wants to merge 1 commit intomasterfrom
unknown repository
Open

Fixed CorsMiddleware::beforeHandleRoute#2
sergeyklay wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@sergeyklay
Copy link
Copy Markdown

@sergeyklay sergeyklay commented Sep 20, 2017

After the changes made by @thecharge in #1
the CorsMiddleware::beforeHandleRoute is completely broken.

This is obvious because the $allowedOrigin variable is undefined now.

Note: I've added the i modifier to the regular expression.

Refs: 4403145#diff-e0f68aa0c2eadb45e6b357a76fa5aa50

/ cc: @bblok11, @olivierandriessen

After the changes made by @thecharge in #1 
the CorsMiddleware::beforeHandleRoute is completely broken.

This is obvious because the $allowedOrigin variable is undefined now.

Note: I've added the 'i' modifier to the regular expression.
 
Refs: 4403145#diff-e0f68aa0c2eadb45e6b357a76fa5aa50

/ cc: @bblok11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant